<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage crazyminecraft.com
 * @since crazyminecraft.com 1.0
 */
 if (is_404()) {
	 $redirectHome = get_option('home');
	}
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta name="msvalidate.01" content="CB262CABFC446174A905FABFF2822428" />
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type');?>; charset=<?php bloginfo('charset');?>">
	<meta property="fb:admins" content="100007447449625" />
	<title><?php wp_title( '|', true, 'right' );?><?php bloginfo('name');?></title>

	<!-- Rss -->
	<!-- end Rss -->
	<!-- Style sheet -->
	<link rel="stylesheet" href="<?php bloginfo( 'template_directory' ); ?>/style.css" type="text/css"  />
	<!-- <link rel="stylesheet" href="<?php bloginfo( 'template_directory' ); ?>/css/styleRightSide300.css" type="text/css"/> -->
	<link rel="shortcut icon" type="image/x-icon" href="http://www.crazyminecraft.net/favicon.png"/>
	<?php wp_head(); ?>
	<script type='text/javascript' src='<?php bloginfo( 'template_directory' ); ?>/js/jquery.js?ver=1.10.2'></script>
	<script type='text/javascript'>		
jQuery(function($){
    $(document).ready(function(){ 
         $(".toggle_container").hide();
         $("h4.trigger").click(function(){
	if ($(this).is(".active"))
	{
		$(this).find('.a_toggle').text('+ Show');
	}
	else
	{
		$(this).find('.a_toggle').text('- Hide');
	}
        $(this).toggleClass("active").next().slideToggle("normal");
        return false; //Prevent the browser jump to the link anchor
    });
    });
});
	</script>
<!-- imoTsSLx6kpcU1KyGX6rhYM6wzI -->
</head>
<body class="home blog">
<div class="im-wrapper">
	<div class="im-frame">
		<!-- Main Header -->
		<div class="im-header">
			<div id="header">
			<!-- hyperlink blog title -->
				<div class="titleText socshadow" style="margin-bottom:-5px;font-weight:bold;">
					<a href=" <?php echo home_url(); ?> "><img src ="<?php bloginfo( 'template_directory' ); ?>/crazyminecraftnet.png" alt="CrazyMinecraft.net"/></a>
				</div>
				<div class="descText socshadow"></div>
			<!-- end hyperlink blog title -->
			</div><!-- /header -->
		</div><!-- /im-header -->
		<!-- Main Nav  -->
		<div id="access">
			<div class="menu-primary-container">
			<!-- Menu top page -->
			<ul id="menu-primary" class="menu-primary">
				<?php wp_nav_menu( array( 'container' => '', 'menu_id' => 'menu', 'menu_class' => 'menu', 'items_wrap' => '%3$s', 'theme_location' => 'primary' ) ); ?>
				<li class="clear"></li>
			</ul>
			<!-- end Menu -->
			</div>
			<div class="clear-fix"></div>
		</div>
		<!-- Search Form -->
		<!-- END HEADER SECTION -->
		<div class="clear-fix"></div>
		<?php if ( function_exists('yoast_breadcrumb') ) {
			yoast_breadcrumb('<div id="breadcrumbs" style="padding-left:20px;">','</div>');
		} ?>

		<div id="searchForm">
		<form action="http://www.crazyminecraft.net/search" id="cse-search-box">
		  <div>
			<input type="hidden" name="cx" value="partner-pub-8183633048366349:8132769268" />
			<input type="hidden" name="cof" value="FORID:10" />
			<input type="hidden" name="ie" value="UTF-8" />
			<input type="text" name="q" size="140" />
			<input type="submit" name="sa" value="Search" />
		  </div>
		</form>
		<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
		</div>
		 <?php if(!is_single()){?><div class="top728">
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- 728x90 crazyminecraft.net [Home - Center] -->
			<ins class="adsbygoogle"
     				style="display:inline-block;width:728px;height:90px"
    				data-ad-client="ca-pub-8183633048366349"
     				data-ad-slot="7050776391"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
		</div><?php }?>
<marquee behavior="scroll" direction="left"><strong style="color:red; font-size:17px;">WARNING!</strong> <b>Most of mods, textures, resoucres pack & tools of old versions are also compatible with 1.7 versions. So please consider carefully before download.</b></marquee>
		<!-- CLOSE TOP ADS -->
		<div id="main-content">
	        	<div class="line"></div>
			<div id="im-mainContent" <?php if(!is_page()){ echo 'class="im-mainContent"';}?>>